3.36 \(\int \frac{d+e x}{\left (a+b x^2+c x^4\right )^2} \, dx\)

Optimal. Leaf size=330 \[ \frac{d x \left (-2 a c+b^2+b c x^2\right )}{2 a \left (b^2-4 a c\right ) \left (a+b x^2+c x^4\right )}+\frac{\sqrt{c} d \left (b \sqrt{b^2-4 a c}-12 a c+b^2\right ) \tan ^{-1}\left (\frac{\sqrt{2} \sqrt{c} x}{\sqrt{b-\sqrt{b^2-4 a c}}}\right )}{2 \sqrt{2} a \left (b^2-4 a c\right )^{3/2} \sqrt{b-\sqrt{b^2-4 a c}}}-\frac{\sqrt{c} d \left (-b \sqrt{b^2-4 a c}-12 a c+b^2\right ) \tan ^{-1}\left (\frac{\sqrt{2} \sqrt{c} x}{\sqrt{\sqrt{b^2-4 a c}+b}}\right )}{2 \sqrt{2} a \left (b^2-4 a c\right )^{3/2} \sqrt{\sqrt{b^2-4 a c}+b}}+\frac{2 c e \tanh ^{-1}\left (\frac{b+2 c x^2}{\sqrt{b^2-4 a c}}\right )}{\left (b^2-4 a c\right )^{3/2}}-\frac{e \left (b+2 c x^2\right )}{2 \left (b^2-4 a c\right ) \left (a+b x^2+c x^4\right )} \]

[Out]

-(e*(b + 2*c*x^2))/(2*(b^2 - 4*a*c)*(a + b*x^2 + c*x^4)) + (d*x*(b^2 - 2*a*c + b
*c*x^2))/(2*a*(b^2 - 4*a*c)*(a + b*x^2 + c*x^4)) + (Sqrt[c]*(b^2 - 12*a*c + b*Sq
rt[b^2 - 4*a*c])*d*ArcTan[(Sqrt[2]*Sqrt[c]*x)/Sqrt[b - Sqrt[b^2 - 4*a*c]]])/(2*S
qrt[2]*a*(b^2 - 4*a*c)^(3/2)*Sqrt[b - Sqrt[b^2 - 4*a*c]]) - (Sqrt[c]*(b^2 - 12*a
*c - b*Sqrt[b^2 - 4*a*c])*d*ArcTan[(Sqrt[2]*Sqrt[c]*x)/Sqrt[b + Sqrt[b^2 - 4*a*c
]]])/(2*Sqrt[2]*a*(b^2 - 4*a*c)^(3/2)*Sqrt[b + Sqrt[b^2 - 4*a*c]]) + (2*c*e*ArcT
anh[(b + 2*c*x^2)/Sqrt[b^2 - 4*a*c]])/(b^2 - 4*a*c)^(3/2)

_______________________________________________________________________________________

Rubi [A]  time = 1.55996, antiderivative size = 330, normalized size of antiderivative = 1., number of steps used = 11, number of rules used = 9, integrand size = 20, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.45 \[ \frac{d x \left (-2 a c+b^2+b c x^2\right )}{2 a \left (b^2-4 a c\right ) \left (a+b x^2+c x^4\right )}+\frac{\sqrt{c} d \left (b \sqrt{b^2-4 a c}-12 a c+b^2\right ) \tan ^{-1}\left (\frac{\sqrt{2} \sqrt{c} x}{\sqrt{b-\sqrt{b^2-4 a c}}}\right )}{2 \sqrt{2} a \left (b^2-4 a c\right )^{3/2} \sqrt{b-\sqrt{b^2-4 a c}}}-\frac{\sqrt{c} d \left (-b \sqrt{b^2-4 a c}-12 a c+b^2\right ) \tan ^{-1}\left (\frac{\sqrt{2} \sqrt{c} x}{\sqrt{\sqrt{b^2-4 a c}+b}}\right )}{2 \sqrt{2} a \left (b^2-4 a c\right )^{3/2} \sqrt{\sqrt{b^2-4 a c}+b}}+\frac{2 c e \tanh ^{-1}\left (\frac{b+2 c x^2}{\sqrt{b^2-4 a c}}\right )}{\left (b^2-4 a c\right )^{3/2}}-\frac{e \left (b+2 c x^2\right )}{2 \left (b^2-4 a c\right ) \left (a+b x^2+c x^4\right )} \]

Antiderivative was successfully verified.

[In]  Int[(d + e*x)/(a + b*x^2 + c*x^4)^2,x]

[Out]

-(e*(b + 2*c*x^2))/(2*(b^2 - 4*a*c)*(a + b*x^2 + c*x^4)) + (d*x*(b^2 - 2*a*c + b
*c*x^2))/(2*a*(b^2 - 4*a*c)*(a + b*x^2 + c*x^4)) + (Sqrt[c]*(b^2 - 12*a*c + b*Sq
rt[b^2 - 4*a*c])*d*ArcTan[(Sqrt[2]*Sqrt[c]*x)/Sqrt[b - Sqrt[b^2 - 4*a*c]]])/(2*S
qrt[2]*a*(b^2 - 4*a*c)^(3/2)*Sqrt[b - Sqrt[b^2 - 4*a*c]]) - (Sqrt[c]*(b^2 - 12*a
*c - b*Sqrt[b^2 - 4*a*c])*d*ArcTan[(Sqrt[2]*Sqrt[c]*x)/Sqrt[b + Sqrt[b^2 - 4*a*c
]]])/(2*Sqrt[2]*a*(b^2 - 4*a*c)^(3/2)*Sqrt[b + Sqrt[b^2 - 4*a*c]]) + (2*c*e*ArcT
anh[(b + 2*c*x^2)/Sqrt[b^2 - 4*a*c]])/(b^2 - 4*a*c)^(3/2)

_______________________________________________________________________________________

Rubi in Sympy [A]  time = 110.156, size = 296, normalized size = 0.9 \[ \frac{2 c e \operatorname{atanh}{\left (\frac{b + 2 c x^{2}}{\sqrt{- 4 a c + b^{2}}} \right )}}{\left (- 4 a c + b^{2}\right )^{\frac{3}{2}}} - \frac{\sqrt{2} \sqrt{c} d \left (- 12 a c + b^{2} - b \sqrt{- 4 a c + b^{2}}\right ) \operatorname{atan}{\left (\frac{\sqrt{2} \sqrt{c} x}{\sqrt{b + \sqrt{- 4 a c + b^{2}}}} \right )}}{4 a \sqrt{b + \sqrt{- 4 a c + b^{2}}} \left (- 4 a c + b^{2}\right )^{\frac{3}{2}}} + \frac{\sqrt{2} \sqrt{c} d \left (- 12 a c + b^{2} + b \sqrt{- 4 a c + b^{2}}\right ) \operatorname{atan}{\left (\frac{\sqrt{2} \sqrt{c} x}{\sqrt{b - \sqrt{- 4 a c + b^{2}}}} \right )}}{4 a \sqrt{b - \sqrt{- 4 a c + b^{2}}} \left (- 4 a c + b^{2}\right )^{\frac{3}{2}}} + \frac{x \left (b c d x^{2} + b c e x^{3} + d \left (- 2 a c + b^{2}\right ) + e x \left (- 2 a c + b^{2}\right )\right )}{2 a \left (- 4 a c + b^{2}\right ) \left (a + b x^{2} + c x^{4}\right )} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  rubi_integrate((e*x+d)/(c*x**4+b*x**2+a)**2,x)

[Out]

2*c*e*atanh((b + 2*c*x**2)/sqrt(-4*a*c + b**2))/(-4*a*c + b**2)**(3/2) - sqrt(2)
*sqrt(c)*d*(-12*a*c + b**2 - b*sqrt(-4*a*c + b**2))*atan(sqrt(2)*sqrt(c)*x/sqrt(
b + sqrt(-4*a*c + b**2)))/(4*a*sqrt(b + sqrt(-4*a*c + b**2))*(-4*a*c + b**2)**(3
/2)) + sqrt(2)*sqrt(c)*d*(-12*a*c + b**2 + b*sqrt(-4*a*c + b**2))*atan(sqrt(2)*s
qrt(c)*x/sqrt(b - sqrt(-4*a*c + b**2)))/(4*a*sqrt(b - sqrt(-4*a*c + b**2))*(-4*a
*c + b**2)**(3/2)) + x*(b*c*d*x**2 + b*c*e*x**3 + d*(-2*a*c + b**2) + e*x*(-2*a*
c + b**2))/(2*a*(-4*a*c + b**2)*(a + b*x**2 + c*x**4))

_______________________________________________________________________________________

Mathematica [A]  time = 1.60811, size = 341, normalized size = 1.03 \[ \frac{1}{4} \left (\frac{2 a b e+4 a c x (d+e x)-2 b d x \left (b+c x^2\right )}{a \left (4 a c-b^2\right ) \left (a+b x^2+c x^4\right )}+\frac{\sqrt{2} \sqrt{c} d \left (b \sqrt{b^2-4 a c}-12 a c+b^2\right ) \tan ^{-1}\left (\frac{\sqrt{2} \sqrt{c} x}{\sqrt{b-\sqrt{b^2-4 a c}}}\right )}{a \left (b^2-4 a c\right )^{3/2} \sqrt{b-\sqrt{b^2-4 a c}}}+\frac{\sqrt{2} \sqrt{c} d \left (b \sqrt{b^2-4 a c}+12 a c-b^2\right ) \tan ^{-1}\left (\frac{\sqrt{2} \sqrt{c} x}{\sqrt{\sqrt{b^2-4 a c}+b}}\right )}{a \left (b^2-4 a c\right )^{3/2} \sqrt{\sqrt{b^2-4 a c}+b}}-\frac{4 c e \log \left (\sqrt{b^2-4 a c}-b-2 c x^2\right )}{\left (b^2-4 a c\right )^{3/2}}+\frac{4 c e \log \left (\sqrt{b^2-4 a c}+b+2 c x^2\right )}{\left (b^2-4 a c\right )^{3/2}}\right ) \]

Antiderivative was successfully verified.

[In]  Integrate[(d + e*x)/(a + b*x^2 + c*x^4)^2,x]

[Out]

((2*a*b*e + 4*a*c*x*(d + e*x) - 2*b*d*x*(b + c*x^2))/(a*(-b^2 + 4*a*c)*(a + b*x^
2 + c*x^4)) + (Sqrt[2]*Sqrt[c]*(b^2 - 12*a*c + b*Sqrt[b^2 - 4*a*c])*d*ArcTan[(Sq
rt[2]*Sqrt[c]*x)/Sqrt[b - Sqrt[b^2 - 4*a*c]]])/(a*(b^2 - 4*a*c)^(3/2)*Sqrt[b - S
qrt[b^2 - 4*a*c]]) + (Sqrt[2]*Sqrt[c]*(-b^2 + 12*a*c + b*Sqrt[b^2 - 4*a*c])*d*Ar
cTan[(Sqrt[2]*Sqrt[c]*x)/Sqrt[b + Sqrt[b^2 - 4*a*c]]])/(a*(b^2 - 4*a*c)^(3/2)*Sq
rt[b + Sqrt[b^2 - 4*a*c]]) - (4*c*e*Log[-b + Sqrt[b^2 - 4*a*c] - 2*c*x^2])/(b^2
- 4*a*c)^(3/2) + (4*c*e*Log[b + Sqrt[b^2 - 4*a*c] + 2*c*x^2])/(b^2 - 4*a*c)^(3/2
))/4

_______________________________________________________________________________________

Maple [B]  time = 0.143, size = 1241, normalized size = 3.8 \[ \text{result too large to display} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  int((e*x+d)/(c*x^4+b*x^2+a)^2,x)

[Out]

c/(4*a*c-b^2)^2/(x^2+1/2/c*(-4*a*c+b^2)^(1/2)+1/2*b/c)*d*x*(-4*a*c+b^2)^(1/2)-1/
4/(4*a*c-b^2)^2/(x^2+1/2/c*(-4*a*c+b^2)^(1/2)+1/2*b/c)/a*d*x*b^2*(-4*a*c+b^2)^(1
/2)-c/(4*a*c-b^2)^2/(x^2+1/2/c*(-4*a*c+b^2)^(1/2)+1/2*b/c)*d*x*b+1/4/(4*a*c-b^2)
^2/(x^2+1/2/c*(-4*a*c+b^2)^(1/2)+1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*b/c-1/2/c*(-4*a*c+b^2)^(1/2))*e*a-1/2
/(4*a*c-b^2)^2/(x^2+1/2*b/c-1/2/c*(-4*a*c+b^2)^(1/2))*e*b^2-c/(4*a*c-b^2)^2*(-4*
a*c+b^2)^(1/2)*e*ln(a*(-2*c*x^2+(-4*a*c+b^2)^(1/2)-b))+3*c^2/(4*a*c-b^2)^2*2^(1/
2)/((-b+(-4*a*c+b^2)^(1/2))*c)^(1/2)*arctanh(c*x*2^(1/2)/((-b+(-4*a*c+b^2)^(1/2)
)*c)^(1/2))*(-4*a*c+b^2)^(1/2)*d-1/4*c/(4*a*c-b^2)^2*2^(1/2)/a/((-b+(-4*a*c+b^2)
^(1/2))*c)^(1/2)*arctanh(c*x*2^(1/2)/((-b+(-4*a*c+b^2)^(1/2))*c)^(1/2))*(-4*a*c+
b^2)^(1/2)*b^2*d+c^2/(4*a*c-b^2)^2*2^(1/2)/((-b+(-4*a*c+b^2)^(1/2))*c)^(1/2)*arc
tanh(c*x*2^(1/2)/((-b+(-4*a*c+b^2)^(1/2))*c)^(1/2))*b*d-1/4*c/(4*a*c-b^2)^2*2^(1
/2)/a/((-b+(-4*a*c+b^2)^(1/2))*c)^(1/2)*arctanh(c*x*2^(1/2)/((-b+(-4*a*c+b^2)^(1
/2))*c)^(1/2))*b^3*d

_______________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \[ \frac{b c d x^{3} - 2 \, a c e x^{2} - a b e +{\left (b^{2} - 2 \, a c\right )} d x}{2 \,{\left ({\left (a b^{2} c - 4 \, a^{2} c^{2}\right )} x^{4} + a^{2} b^{2} - 4 \, a^{3} c +{\left (a b^{3} - 4 \, a^{2} b c\right )} x^{2}\right )}} + \frac{\int \frac{b c d x^{2} - 4 \, a c e x +{\left (b^{2} - 6 \, a c\right )} d}{c x^{4} + b x^{2} + a}\,{d x}}{2 \,{\left (a b^{2} - 4 \, a^{2} c\right )}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((e*x + d)/(c*x^4 + b*x^2 + a)^2,x, algorithm="maxima")

[Out]

1/2*(b*c*d*x^3 - 2*a*c*e*x^2 - a*b*e + (b^2 - 2*a*c)*d*x)/((a*b^2*c - 4*a^2*c^2)
*x^4 + a^2*b^2 - 4*a^3*c + (a*b^3 - 4*a^2*b*c)*x^2) + 1/2*integrate((b*c*d*x^2 -
 4*a*c*e*x + (b^2 - 6*a*c)*d)/(c*x^4 + b*x^2 + a), x)/(a*b^2 - 4*a^2*c)

_______________________________________________________________________________________

Fricas [F(-2)]  time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: NotImplementedError} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((e*x + d)/(c*x^4 + b*x^2 + a)^2,x, algorithm="fricas")

[Out]

Exception raised: NotImplementedError

_______________________________________________________________________________________

Sympy [F(-1)]  time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((e*x+d)/(c*x**4+b*x**2+a)**2,x)

[Out]

Timed out

_______________________________________________________________________________________

GIAC/XCAS [F(-2)]  time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: TypeError} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((e*x + d)/(c*x^4 + b*x^2 + a)^2,x, algorithm="giac")

[Out]

Exception raised: TypeError